File() Class MethodFile(path) new File(path) Description This function constructs a new File object. If the given path name refers to an already existing folder, a Folder object is returned instead. The CRLF sequence is preset to the system default, and the encoding is preset to the default system encoding. Parameters Path, expressed as a string. If missing, a temporary name is generated. Returns File (or Folder if path refers to an existing folder). |